WooCommerce\Facebook\Handlers\Connection D

Total Complexity 147
Dependencies 9
Dependents 1
Total lines 1,464
Lines of code 641
Logical lines of code 342
Comment lines 606
Methods 58
Properties 3

Methods 58

Method Rating Maintainability Complexity Lines of code
fbe_install_webhook()
B
34 21 89
handle_connect()
B
34 20 88
update_installation_data()
A
49 9 32
repair_or_update_commerce_integration_data()
A
45 8 45
handle_disconnect()
A
47 8 33
handle_fbe_redirect()
S
51 6 25
retrieve_page_access_token()
S
51 5 26
get_external_business_id()
S
57 5 15
refresh_business_configuration()
S
60 3 14
refresh_installation_data()
S
63 3 11
get_connect_parameters_extras()
S
54 2 22
get_connect_parameters()
S
56 2 18
get_business_name()
S
65 3 8
prepare_connect_server_message_for_user_display()
S
66 3 8
get_commerce_connect_url()
S
57 1 18
update_page_access_token()
S
78 2 3
update_external_business_id()
S
78 2 3
get_timezone_string()
S
66 2 8
has_previously_connected_fbe_1()
S
76 2 4
extras_callback()
S
68 2 7
disconnect()
S
60 1 15
init_extras_endpoint()
S
62 1 13
get_redirect_url()
S
62 1 12
get_scopes()
S
64 1 11
update_ad_account_id()
S
80 1 3
extras_permission_callback()
S
80 1 3
update_system_user_id()
S
80 1 3
update_commerce_manager_id()
S
80 1 3
update_instagram_business_id()
S
80 1 3
update_access_token()
S
80 1 3
update_commerce_merchant_settings_id()
S
80 1 3
has_previously_connected_fbe_2()
S
79 1 3
update_merchant_access_token()
S
80 1 3
get_plugin()
S
82 1 3
is_connected()
S
80 1 3
get_client_id()
S
79 1 3
__construct()
S
63 1 10
get_commerce_partner_integration_id()
S
79 1 3
update_business_manager_id()
S
80 1 3
get_connect_url()
S
78 1 3
get_shop_domain()
S
80 1 3
get_country_code()
S
81 1 3
get_currency()
S
81 1 3
get_platform_store_id()
S
81 1 3
get_access_token()
S
74 1 4
get_merchant_access_token()
S
74 1 4
get_page_access_token()
S
74 1 4
get_disconnect_url()
S
78 1 3
get_connection_authentication_url()
S
79 1 3
get_business_manager_id()
S
74 1 4
get_ad_account_id()
S
79 1 3
get_system_user_id()
S
79 1 3
get_commerce_manager_id()
S
79 1 3
get_instagram_business_id()
S
79 1 3
get_commerce_merchant_settings_id()
S
79 1 3
get_proxy_url()
S
79 1 3
get_app_store_login_url()
S
79 1 3
update_commerce_partner_integration_id()
S
80 1 3